home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Ultimate Frank Lloyd…ght - America's Architect
/
Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso
/
pre
/
flw
/
flwlt22.dir
/
00027_Script_27
< prev
next >
Wrap
Text File
|
1994-11-15
|
5KB
|
206 lines
on startMovie
global inFrame, nowFrame, currMM
global dialogOn, nextLT, prevLT
cursor 4
set the preLoadRAM to 420
set prevLT = "FLWLT21"
set nextLT = "FLWLT23"
set dialogOn = FALSE
set currMM = "FLWMM"
set nowFrame = "ltfin948000°°°"
set inFrame = ""
puppetsprite 9, TRUE
puppetSprite 11, TRUE
puppetSprite 12, TRUE
set the immediate of sprite 11 to TRUE
set the immediate of sprite 12 to TRUE
puppetSprite 20, TRUE
puppetSprite 21, TRUE
puppetSprite 22, TRUE
puppetSprite 23, TRUE
set the immediate of sprite 20 to TRUE
set the immediate of sprite 23 to TRUE
end startMovie
on stepMovie
global nowFrame,currFrame
if nowFrame <> currFrame then
seeAlsoList
set currFrame = nowFrame
end if
end stepMovie
on stopMovie
put " " into field "seeAlsoText"
set the castNum of sprite 21 to 1050
puppetSprite 21, FALSE
updateStage
end stopMovie
on saveLocals
global lastFrame, nowFrame, lastMovie, origLocH
set lastMovie = the movie
set lastFrame = nowFrame
end saveLocals
on ltForStep
global inFrame, nextLT, ltQT
puppetSprite 4, FALSE
set inFrame = ""
set ltQT = FALSE
if the frame = 13 then
go to frame "ltfin950001°°°" of movie nextLT
else
go to marker (+1)
updateStage
end if
end ltForStep
on ltBackStep
global inFrame, prevLT, ltQT
puppetSprite 4, FALSE
set ltQT = FALSE
set inFrame = ""
if the frame < 5 then
go to frame "ltfin945005°°°" of movie prevLT
else
go to marker (-1)
updateStage
end if
end ltBackStep
on checkNav
if rollover(12) then
set the castNum of sprite 12 to the number of cast "leftUp"
else
set the castNum of sprite 12 to the number of cast "leftRt"
end if
if rollover(11) then
set the castNum of sprite 11 to the number of cast "rightUp"
else
set the castNum of sprite 11 to the number of cast "rightRt"
end if
updateStage
cursor -1
end checkNav
on buttonState
global FrankNav, bflag, nowFrame, noTx, dialogOn
if dialogOn = FALSE then
--sticking local call here for convenience
worldLite
if the mouseV > 200 or bFlag = TRUE then
set bFlag = FALSE
doState
end if
end if
end buttonState
on scrollRight
if the clickon = 11 then
sound stop 1
startTimer
repeat while the timer < 2
set the castNum of sprite 11 to the number of cast "rightDn"
updateStage
end repeat
timeRight
flush
end if
end scrollRight
on scrollLeft
if the clickon = 12 then
sound stop 1
startTimer
repeat while the timer < 2
set the castNum of sprite 12 to the number of cast "leftDn"
updateStage
end repeat
timeLeft
flush
end if
end scrollLeft
on timeLeft
global prevLt
go to movie prevLT
end timeLeft
on timeRight
global nextLt
go to movie nextLT
end timeRight
on worldLite
if rollover(9) then
set the castNum of sprite 9 to 26
else
set the castNum of sprite 9 to 2
end if
end worldLite
on rollVLB22
global currUp1, currUp2, currUp3, currUp4, currUp5
if the mouseH > 168 and the mouseH < 325 and the mouseV > 163 and the mouseV < 218 then
set the castNum of sprite 4 to 10
if the mouseDown then
set the castNum of sprite 4 to 4
end if
else if the mouseH > 222 and the mouseH < 346 and the mouseV > 75 and the mouseV < 159 then
set the castNum of sprite 4 to 11
if the mouseDown then
set the castNum of sprite 4 to 4
end if
else if the mouseH > 353 and the mouseH < 495 and the mouseV > 151 and the mouseV < 208 then
set the castNum of sprite 4 to 12
if the mouseDown then
set the castNum of sprite 4 to 4
end if
else if the mouseH > 451 and the mouseH < 576 and the mouseV > 75 and the mouseV < 149 then
set the castNum of sprite 4 to 13
if the mouseDown then
set the castNum of sprite 4 to 4
end if
else if the mouseH > 524 and the mouseH < 618 and the mouseV > 167 and the mouseV < 225 then
set the castNum of sprite 4 to 14
if the mouseDown then
set the castNum of sprite 4 to 4
end if
else
set the castNum of sprite 4 to 4
end if
updateStage
end rollVLB22
on jumpVLB22
global dialogOn
if dialogOn = FALSE then
sound stop 1
if the clickOn < 7 or the clickOn > 23 then
if the mouseH > 168 and the mouseH < 325 and the mouseV > 163 and the mouseV < 218 then
puppetSprite 4, FALSE
go to frame "ltfin948001°°°"
else if the mouseH > 222 and the mouseH < 346 and the mouseV > 75 and the mouseV < 159 then
puppetSprite 4, FALSE
go to frame "ltfin948002°°°"
else if the mouseH > 353 and the mouseH < 495 and the mouseV > 151 and the mouseV < 208 then
puppetSprite 4, FALSE
go to frame "ltfin948003°°°"
else if the mouseH > 451 and the mouseH < 576 and the mouseV > 75 and the mouseV < 149 then
puppetSprite 4, FALSE
go to frame "ltfin948004°°°"
-- set the volume of sprite 15 to 255
else if the mouseH > 524 and the mouseH < 618 and the mouseV > 167 and the mouseV < 225 then
puppetSprite 4, FALSE
go to frame "ltfin948005°°°"
else
nothing
end if
end if
end if
flush
end jumpVLB22